﻿using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UPos.Core
{
    static class ExtendHelper
    {
        public static OracleParameter OP(this string name, object value)
        {
            return new OracleParameter(":" + name, value);
        }

        public static SqlParameter SP(this string name, object value)
        {
            return new SqlParameter("@" + name, value);
        }
    }
}
